import { Stream } from 'adajs';

class ClickStream extends Stream {
    oncreated() {
        this.context.window.addEventListener('click', (e) => this.next(e));
    }
}

export default ClickStream;